package com.ruoyi.system.domain;

import java.util.List;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 套餐管理对象 A_setmeal
 *
 * @author 王家宁
 * @date 2024-08-18
 */
@TableName("A_setmeal")
public class ASetmeal extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 套餐名
     */
    @Excel(name = "套餐名")
    private String setmealName;

    /**
     * 图片url
     */
    @Excel(name = "图片url")
    private String imgUrl;

    /**
     * 套餐价格
     */
    @Excel(name = "套餐价格")
    private Long setmealPrice;

    /**
     * 套餐状态
     */
    @Excel(name = "套餐状态")
    private Integer status;

    /**
     * 积分
     */
    @Excel(name = "积分")
    private Long socre;

    /**
     * 分类id
     */
    private Long categoryId;

    /**
     * 删除标志（0：未删除，1：已删除）
     */
    private Integer isDelete;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setSetmealName(String setmealName) {
        this.setmealName = setmealName;
    }

    public String getSetmealName() {
        return setmealName;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setSetmealPrice(Long setmealPrice) {
        this.setmealPrice = setmealPrice;
    }

    public Long getSetmealPrice() {
        return setmealPrice;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getStatus() {
        return status;
    }

    public void setSocre(Long socre) {
        this.socre = socre;
    }

    public Long getSocre() {
        return socre;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public Long getCategoryId() {
        return categoryId;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("setmealName", getSetmealName())
                .append("imgUrl", getImgUrl())
                .append("setmealPrice", getSetmealPrice())
                .append("status", getStatus())
                .append("socre", getSocre())
                .append("createTime", getCreateTime())
                .append("categoryId", getCategoryId())
                .append("isDelete", getIsDelete())
                .toString();
    }
}
